package com.api.tournament.dao;

import com.api.core.ApiMapper;
import com.api.tournament.model.Stage;
import com.api.tournament.vo.StageVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface StageMapper extends ApiMapper<Stage> {
    List<Stage> selectByTournamentId(Long id);

    List<StageVo> selectVoByTournamentId(Long tournamentId);

    List<StageVo> selectVoByTournamentIdJoinUser(Long tournamentId);
}